import { createRouter,createWebHistory } from "vue-router";
import Year_Value_Ral from "../views/Year_Value_Ral.vue";
import Home from "../views/Home.vue";
import Peoplenum_Value_Ral from "../views/Peoplenum_Value_Ral.vue";
import Houseprice_Tendency from "../views/Houseprice_Tendency.vue";
import City_Value_Rank from "../views/City_Value_Rank.vue";
import City_Bdinvestment_Rank from "../views/City_Bdinvestment_Rank .vue";
import Avgwage_Depbalance_Ral from "../views/Avgwage_Depbalance_Ral .vue";
import Income_Expenses_Ral from "../views/Income_Expenses_Ral.vue";

const router = createRouter({
    history:createWebHistory(),
    routes:[
        {
            path:'/',
            redirect:'/home'
        },
        {
            path:'/home',
            component:Home
        },
        {
            path:'/year_value_ral',
            component:Year_Value_Ral
        },
        {
            path:'/peoplenum_value_ral',
            component:Peoplenum_Value_Ral
        },
        {
            path:'/houseprice_tendency',
            component:Houseprice_Tendency
        },
        {
            path:'/city_value_rank',
            component:City_Value_Rank
        },
        {
            path:'/city_bdinvestment_rank',
            component:City_Bdinvestment_Rank
        },
        {
            path:'/avgwage_depbalance_ral',
            component:Avgwage_Depbalance_Ral
        },
        {
            path:'/income_expenses_ral',
            component:Income_Expenses_Ral
        }

    
    ]
})
export default router